package cloud.maque.demo1.feign;

import cloud.maque.common.core.response.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "maque-demo2")
public interface Demo2Client {
    
    @GetMapping("/demo2/data/{id}")
    R<String> getDemo2Data(@PathVariable("id") String id);
} 
